<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/1/30 0030
  Time: 11:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>

<script src="${path}/static/taoshunda/auditing/auditingCarousel.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="input-group col-xs-2" style="float: left;margin-left: 3px;margin-bottom: 3px">
    <input type="text" id="busName" class="form-control entry" placeholder="输入商家名称"/>
</div>
<div class="input-group col-xs-2" style="float: left;margin-left: 3px;margin-bottom: 3px">
    <select class="form-control entry" id="type">
        <option value="0">--请选择--</option>
        <option value="1">首页广告位</option>
        <option value="2">红包广告位</option>
    </select>
</div>
<div style="float: left;margin-left: 10px;margin-bottom: 3px">
    <button type="button" class="btn query_button" onclick="queryAuditingCarousel()" style="float: left;width: 150%">
        查询
    </button>
</div>

<table id="table"
       class="table table-striped table-bordered"
       data-toggle="table"
       data-url="${path}/web/carousel/queryAuditingCarousel"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="id" data-visible="false">编号</th>
        <th data-field="cityName">城市</th>
        <th data-field="areaName">地区</th>
        <th data-field="busName">商家名称</th>
        <th data-field="account">商家电话</th>
        <th data-formatter="linkType">广告分类</th>
        <th data-field="patTime">展示时间(月)</th>
        <th data-field="payMoney">缴费金额(元)</th>
        <th data-formatter="operateFormatter" data-events="operateEvents">操作</th>
    </tr>
    </thead>
</table>


<div id="addPicture-div" class="slidingmenu box-model box box-info" style="z-index:0;" model-width="45%">
    <div class="box-header">
        <h3 class="box-title">上传图片</h3>
    </div>
    <div class="box box-info">
        <div class="box-body">
            <form role="form" method="post" id="addPictureFrom">
                <input id="id" name="id" type="hidden">

                <div class="form-group">
                    <input type="hidden" name="picPath" id="picPath">
                    <label>轮播图:</label><br>
                    <img width="150" height="150" id="picPathAdd" src="${path}/static/images/commons/img_add.png"
                         class="addImage"><br><span style="color: red">推荐上传图片为1250 x 800以上分辨率的图片</span>
                </div>
            </form>
            <div class="box-footer">
                <button class="btn btn-info" data-event="submit-updatePicture">确定</button>
                &nbsp;
                <button class="btn btn-danger close-model">关闭</button>
            </div>
        </div>
    </div>
</div>


<%--<div id="addPicture-div" class="slidingmenu box-model box box-info" style="z-index:0;" model-width="45%">--%>
    <%--<div class="box-header">--%>
        <%--<h3 class="box-title">上传图片</h3>--%>
    <%--</div>--%>
    <%--<div class="box box-info">--%>
        <%--<div class="box-body">--%>
            <%--<form role="form" method="post" id="updateReplaceFrom">--%>
                <%--<input id="idUpdate" name="id" type="hidden">--%>

                <%--<div class="form-group">--%>
                    <%--<input type="hidden" name="picPath" id="pic">--%>
                    <%--<label>轮播图:</label><br>--%>
                    <%--<img width="150" height="150" id="image" src="${path}/static/images/commons/img_add.png"--%>
                         <%--class="addImage"><br><span style="color: red">推荐上传图片为1250 x 800以上分辨率的图片</span>--%>
                <%--</div>--%>
            <%--</form>--%>
            <%--<div class="box-footer">--%>
                <%--<button class="btn btn-info" data-event="submit-replacePicture">确定</button>--%>
                <%--&nbsp;--%>
                <%--<button class="btn btn-danger close-model">关闭</button>--%>
            <%--</div>--%>
        <%--</div>--%>
    <%--</div>--%>
<%--</div>--%>